/*
 * IBM Corporation.
 * Copyright (c) 2014 All Rights Reserved.
 */

package com.ibm.iisp.dataie.model;

import java.io.Serializable;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.NamedQueries;
import javax.persistence.NamedQuery;
import javax.persistence.Table;

/**
 * 类作用：
 * @author Johnny@cn.ibm.com
 * 使用说明：
 */
@Entity
@Table(name = "IISP_DATA_IE_IMPORT_NODE_TABLE")
@NamedQueries({
	@NamedQuery(name = DataImportNodeTable.QUERY_TABLE, query = "select dt.table from DataImportNodeTable dt")
})
public class DataImportNodeTable implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = -3274057693456266524L;

	public final static String QUERY_TABLE = "DataImportNodeTable.QUERY_TABLE";

	@Id
	@ManyToOne
	@JoinColumn(name = "TABLE_CODE")
	private DataIETable table;

	private String dateColumn;

	private String nodeColumn;

	private String dataColumn;

	public DataIETable getTable() {
		return table;
	}

	public void setTable(DataIETable table) {
		this.table = table;
	}

	public String getDateColumn() {
		return dateColumn;
	}

	public void setDateColumn(String dateColumn) {
		this.dateColumn = dateColumn;
	}

	public String getNodeColumn() {
		return nodeColumn;
	}

	public void setNodeColumn(String nodeColumn) {
		this.nodeColumn = nodeColumn;
	}

	public String getDataColumn() {
		return dataColumn;
	}

	public void setDataColumn(String dataColumn) {
		this.dataColumn = dataColumn;
	}

}
